package com.yuexun.dhdoctor.module.commun.adapter;

import android.widget.AbsListView;

import com.yuexun.dhdoctor.R;
import com.yuexun.dhdoctor.module.Contract.bean.People;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by work-jx on 2016/8/1.
 */
public class AddMemberAdapter extends KJAdapter<People> {

    public AddMemberAdapter(AbsListView view, Collection<People> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, People people, boolean b) {
            adapterHolder.setText(R.id.item_send_addmember_name,people.getUserName());
    }
}
